<%@ page language="Java" contentType="text/html;charset=UTF-8" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head> 
    <title>用户登录</title>        
  <meta http-equiv="content-Type" content="text/html;charset=utf-8"> 
  <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  <meta http-equiv="description" content="this is a page">
 </head>
 <body>
 	<form action="NewsServlet?method=login" method="post">
 	手机号：<input type="text"  name="userPhone" placeholder="请输入手机号/用户名/邮箱"  maxlength="11"autofocus="autofocus"><br>
 	密码：<input type="text"  name="userPassword" placeholder="请输入密码"   maxlength="12"><br>
 	<input type="reset" value="重置">&nbsp;&nbsp;&nbsp;
 	<input type="submit" value="登录">&nbsp;&nbsp;&nbsp;&nbsp;
 	<input type="button" onclick="window.location='userRegister.jsp'" value="注册">
 	<br>
 	${error }
 	</form>
 </body>
</html>